<html>
<head>
	<title><g:layoutTitle default=""/> :: DART</title>
	<link rel="stylesheet" href="${resource(dir: 'css', file: 'dart.css')}"/>
	<g:layoutHead/>
</head>
<body onLoad="${pageProperty(name: 'body.onLoad')}" style="${pageProperty(name: 'body.style')}">
<div id="menu">
	<span id="navigation">
		<a href="${resource(dir: '')}">Home</a> |
		<g:link controller="person">People</g:link> |
		<g:link controller="classification">Classes</g:link> |
		<g:link controller="games">Games</g:link> |
		<g:link controller="gamePlay">New Game</g:link>
	</span>
	<span id="message">
		<g:if test="${flash.error}">
			<a class="error" onclick="alert('${flash.error.field} : ${flash.error.rejectedValue}');">
				${flash.message}
			</a>
		</g:if>
		<g:else>
			${flash.message}
		</g:else>
	</span>
</div>

<g:if test="${ pageProperty(name: 'meta.centerTable') == 'true' }">
	<table id="centerTable">
		<tr>
			<td>
				<g:layoutBody/>
			</td>
		</tr>
	</table>
</g:if>
<g:else>
	<p id="menu-spacing">&nbsp;</p>
	<g:layoutBody/>
</g:else>

</body>
</html>